package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    boolean save(String name,int age,String sex);

    boolean save1(Review review);

    boolean update(Review review);

    boolean delete(Long id);

    Review getByID(Long id);
    List<Review> getDataByPage(int pageNum,int pageSize);

}
